package com.sq.partner.manager.mybatis.model;

import java.sql.Timestamp;
import java.util.List;

/**
 * 
 * @author sankun
 * 对应 GatewayTXLogAnalysisVo
 */
public class GatewayTxLog { 
	/** 消息ID */
	private String msgId;
	
	private Timestamp startTime;
	private Timestamp endTime;
	/** 总处理耗时*/
	private Long totalElapsed;
	private Timestamp outStartTime;
	private Timestamp outEndTime;
	/** 外部处理耗时*/
	private Long outElapsed;
	/** 渠道代码*/
	private String channelCode;
	private String txCode;
	
	/** 错误描述 */
	private String errorDesc;
	
	
	/** 错误代码 */
	private String errorCode;
	
	/** 总交易流量-统计图*/
	private Integer amount;
	/** 时间段-条形图*/
	private Integer hour;
	
	/**  失败交易流量-报文*/
	private Integer failCount;
	/**  所有外部网关交易日志总条数-报文*/
	private Integer total;
	/**  接口名-报文*/
	private String appName;
	/**  接口Id-报文*/
	private String appId;
	/** 渠道名字*/
	private String channelName;
	/** 成功交易流量-报文*/
	private String successCount;
	/** yyyy-mm-dd格式的日期*/
	private String date;
	/** 机构 */
	private List<DeptDto> depts;
	private String deptStr;		//部门拼接的字符串
	private String isHqFlag;	//是否总公司角色
	
	public String isHqFlag() {
		return isHqFlag;
	}
	public void setHqFlag(String isHqFlag) {
		this.isHqFlag = isHqFlag;
	}
	public String getDeptStr() {
		return deptStr;
	}
	public void setDeptStr(String deptStr) {
		this.deptStr = deptStr;
	}
	public List<DeptDto> getDepts() {
		return depts;
	}
	public void setDepts(List<DeptDto> depts) {
		this.depts = depts;
	}
	public String getChannelName() {
		return channelName;
	}
	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}
	public Integer getAmount() {
		return amount;
	}
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	public Integer getHour() {
		return hour;
	}
	public void setHour(Integer hour) {
		this.hour = hour;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public Integer getFailCount() {
		return failCount;
	}
	public void setFailCount(Integer failCount) {
		this.failCount = failCount;
	}
	public Integer getTotal() {
		return total;
	}
	public void setTotal(Integer total) {
		this.total = total;
	}
	public String getAppName() {
		return appName;
	}
	public void setAppName(String appName) {
		this.appName = appName;
	}
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	public String getSuccessCount() {
		return successCount;
	}
	public void setSuccessCount(String successCount) {
		this.successCount = successCount;
	}
	public void setMsgId(String msgId){
    	this.msgId = msgId;
    }
    public String getMsgId(){
    	return	this.msgId;
    }
    public void setStartTime(Timestamp startTime){
    	this.startTime = startTime;
    }
    public Timestamp getStartTime(){
    	return	this.startTime;
    }
    public void setEndTime(Timestamp endTime){
    	this.endTime = endTime;
    }
    public Timestamp getEndTime(){
    	return	this.endTime;
    }
    public void setTotalElapsed(Long totalElapsed){
    	this.totalElapsed = totalElapsed;
    }
    public Long getTotalElapsed(){
    	return	this.totalElapsed;
    }
    public void setOutStartTime(Timestamp outStartTime){
    	this.outStartTime = outStartTime;
    }
    public Timestamp getOutStartTime(){
    	return	this.outStartTime;
    }
    public void setOutEndTime(Timestamp outEndTime){
    	this.outEndTime = outEndTime;
    }
    public Timestamp getOutEndTime(){
    	return	this.outEndTime;
    }
    public void setOutElapsed(Long outElapsed){
    	this.outElapsed = outElapsed;
    }
    public Long getOutElapsed(){
    	return	this.outElapsed;
    }
    public void setChannelCode(String channelCode){
    	this.channelCode = channelCode;
    }
    public String getChannelCode(){
    	return	this.channelCode;
    }
    public void setTxCode(String txCode){
    	this.txCode = txCode;
    }
    public String getTxCode(){
    	return	this.txCode;
    }
    public void setErrorCode(String errorCode){
    	this.errorCode = errorCode;
    }
    public String getErrorCode(){
    	return	this.errorCode;
    }
    public void setErrorDesc(String errorDesc){
    	this.errorDesc = errorDesc;
    }
    public String getErrorDesc(){
    	return	this.errorDesc;
    }

}